package com.imooc.mall.service;

import com.github.pagehelper.PageInfo;
import com.imooc.mall.common.ResultInfo;
import com.imooc.mall.dto.OrderDto;

public interface IOrderService {

    ResultInfo<OrderDto> create(Integer uid,Integer shippingId);

    ResultInfo<PageInfo> list(Integer uid,Integer pageNum,Integer pageSize);

    ResultInfo<OrderDto> detail(Integer uid,Long orderNo);

    ResultInfo cancel(Integer uid,Long orderNo);

    void paid(Long orderNo);
}
